<!--
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-->
<html>
<head>
  <title>unload_sets_cookie</title>
<script>
addEventListener("unload", function() {
  var expires = new Date();
  expires.setMinutes(expires.getMinutes() + 1);
  document.cookie = "unloaded=ohyeah;path=/;expires=" + expires.toUTCString();
}, false);
</script>
</head>
<body></body>
</html>
